package com.scsj.supermarket.view.activity.ordermodel;

import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.scsj.supermarket.R;
import com.scsj.supermarket.adapter.OrderAdapter;
import com.scsj.supermarket.bean.TotalOrderBean;
import com.scsj.supermarket.view.activity.baseactivitymodel.BaseActivity;

import java.util.ArrayList;
import java.util.List;

/**
 * 订单详情
 */


public class OrderContentListActivity extends BaseActivity implements View.OnClickListener {

    private RecyclerView good_content_rv;
    private List<TotalOrderBean> orderBeans;
    private OrderAdapter adapter;

    @Override
    protected void createView(Bundle savedInstanceState) {
        setContentView(R.layout.activity_order_content_list);

        initToolbar();
        setToolbarTitle("订单详情");
        hasBack(true);
    }

    @Override
    protected void initView() {
        good_content_rv = findViewById(R.id.good_content_rv);
        good_content_rv.setLayoutManager(new LinearLayoutManager(this));
        good_content_rv.setNestedScrollingEnabled(false);
    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void initData() {
        List<Integer> data = new ArrayList<>();
        data.add(R.mipmap.ic_launcher);
        data.add(R.mipmap.ic_launcher);
        data.add(R.mipmap.ic_launcher);
        data.add(R.mipmap.ic_launcher);
        data.add(R.mipmap.ic_launcher);
        data.add(R.mipmap.ic_launcher);
        orderBeans = new ArrayList<>();

    }

    @Override
    public void onClick(View view) {
    }
}
